package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "h_question_main")
public class QuestionMain implements Serializable {

	private static final long serialVersionUID = 1792462921825438426L;
	@Id
	@Column(name = "tid_bigint", columnDefinition = "bigint(20)")
	private Long tid;
	@Column(name = "dc_id_bigint", columnDefinition = "bigint(20)")
	private Long dcId;
	@Column(name = "t_name_varchar", columnDefinition = "varchar(255)")
	private String tName;
	@Column(name = "create_time_datetime", columnDefinition = "datetime(3)")
	private Date createTime;
}
